package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 机柜通道表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_aisle")
@ApiModel(value = "XhAisle对象", description = "机柜通道表")
public class XhAisle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("通道编号(物理id)")
    private Integer aisleNo;

    @ApiModelProperty("(暂时废弃)通道序号")
    private Integer serialNum;

    @ApiModelProperty("机柜id")
    private Integer cabinetId;

    @ApiModelProperty("机柜编号")
    private String cabinetNo;

    @ApiModelProperty("电池id")
    private Integer batteryId;

    @ApiModelProperty("电池编号")
    private String batteryNo;

    @ApiModelProperty("电池仓门状态:0.关1.开")
    private Integer doorState;

    @ApiModelProperty("是否空仓:0.否1.是")
    private Integer emptyBox;

    @ApiModelProperty("烟雾报警器状态:0.无烟雾报警1.有烟雾报警")
    private Integer smokeAlarm;

    @ApiModelProperty("仓位充电器状态:0.待机1.充电中2.充满电3.充电器故障")
    private Integer chargerStatus;

    @ApiModelProperty("仓位电池电量:0-100")
    private Integer batteryValue;

    @ApiModelProperty("仓位电池温度")
    private BigDecimal temperature;

    @ApiModelProperty("是否满电：0.否(默认)1.是")
    private Integer isFullEnerge;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
